package com.zryc.shop.pms.mapper;

import com.zryc.shop.pms.entity.ProductAttribute;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import io.swagger.models.auth.In;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 商品属性参数表 Mapper 接口
 * </p>
 *
 * @author zhaozhao
 * @since 2024-01-18
 */
public interface ProductAttributeMapper extends BaseMapper<ProductAttribute> {

    Boolean updateAttributeCategory(@Param("productAttributeCategoryId") Long productAttributeCategoryId, @Param("type") Integer type);

    Boolean AttributeCategory(@Param("productAttributeCategoryId") Long productAttributeCategoryId, @Param("type") Integer type);

    List<ProductAttribute> selectPIDById(Long id);
}
